#!/usr/bin/env bash

FIRTOOLARCH=$(uname -m)
if [[ $FIRTOOLARCH == "aarch64" ]]; then
  firtool.arm.elf --lowering-options=disallowLocalVariables,disallowPackedArrays,locationInfoStyle=wrapInAtSquareBracket $@
else
firtool.elf.strip --lowering-options=disallowLocalVariables,disallowPackedArrays,locationInfoStyle=wrapInAtSquareBracket $@
fi
